package com.cencat.route.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 调度查询条件VO
 * 
 * @author cencat
 * @version 1.0
 * @since 2024-01-01
 */
@Data
@Schema(description = "调度查询条件")
public class DispatchQueryVO {

    @Schema(description = "调度编号")
    private String dispatchNumber;

    @Schema(description = "路线ID")
    private Long routeId;

    @Schema(description = "司机ID")
    private Long driverId;

    @Schema(description = "车辆ID")
    private Long vehicleId;

    @Schema(description = "调度状态")
    private String dispatchStatus;

    @Schema(description = "调度类型")
    private String dispatchType;

    @Schema(description = "优先级")
    private String priority;

    @Schema(description = "紧急程度")
    private String urgencyLevel;

    @Schema(description = "最小货物重量（吨）")
    private BigDecimal minCargoWeight;

    @Schema(description = "最大货物重量（吨）")
    private BigDecimal maxCargoWeight;

    @Schema(description = "最小调度费用")
    private BigDecimal minDispatchCost;

    @Schema(description = "最大调度费用")
    private BigDecimal maxDispatchCost;

    @Schema(description = "计划调度时间-开始")
    private LocalDateTime plannedDispatchTimeBegin;

    @Schema(description = "计划调度时间-结束")
    private LocalDateTime plannedDispatchTimeEnd;

    @Schema(description = "实际调度时间-开始")
    private LocalDateTime actualDispatchTimeBegin;

    @Schema(description = "实际调度时间-结束")
    private LocalDateTime actualDispatchTimeEnd;

    @Schema(description = "计划完成时间-开始")
    private LocalDateTime plannedCompletionTimeBegin;

    @Schema(description = "计划完成时间-结束")
    private LocalDateTime plannedCompletionTimeEnd;

    @Schema(description = "实际完成时间-开始")
    private LocalDateTime actualCompletionTimeBegin;

    @Schema(description = "实际完成时间-结束")
    private LocalDateTime actualCompletionTimeEnd;

    @Schema(description = "创建开始时间")
    private LocalDateTime createStartTime;

    @Schema(description = "创建结束时间")
    private LocalDateTime createEndTime;

    @Schema(description = "更新开始时间")
    private LocalDateTime updateStartTime;

    @Schema(description = "更新结束时间")
    private LocalDateTime updateEndTime;

    @Schema(description = "创建人ID")
    private Long createdBy;

    @Schema(description = "更新人ID")
    private Long updatedBy;

    @Schema(description = "调度人ID")
    private Long dispatchedBy;

    @Schema(description = "是否删除")
    private Boolean deleted;

    @Schema(description = "关键字搜索（调度编号、备注）")
    private String keyword;

    @Schema(description = "排序字段")
    private String sortField;

    @Schema(description = "排序方向（ASC/DESC）")
    private String sortOrder;

}